export interface DataType {
  key: React.Key;
  select: boolean;
  article_id: number;
  title: string;
  length: number; // 字节数,b
  status: string; // 状态
  effective: number; // 入库状态
  created_by: string; //创建人
  created_at: string; //创建时间, 时间戳，以毫秒为单位。
}

export interface VersionCon {
  uuid?: string;
  version_no: number;
  version_timestamp: number; // 时间
  reference?: string; // 参考文档
  command: string; // 指令
  content: string; // AI写作内容
}

export interface AILogsCon {
  key: React.Key;
  type?: string;
  user_command?: string;
  system_output?: string;
  dailog_timestamp?: string;
  key_points?: KeyPoints[];
  loading?: boolean;
  data?: any;
  className?: any;
  spend?: any;
  isTypewriter?: any;
}

export interface KeyPoints {
  key: React.Key;
  title: string;
  content: string;
}
